package com.hzqy.service.monitor;

import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.hzqy.persistence.dao.monitor.MonitorSessionDao;
import com.hzqy.service.core.GenericServiceBean;
import com.hzqy.web.vo.monitor.MonitorSessionVo;
import com.hzqy.web.vo.monitor.MonitorUserOnlineTimeVo;

@Service
public class MonitorSessionServiceBean extends GenericServiceBean<MonitorSessionVo,MonitorSessionDao,Integer> {
	private static final long serialVersionUID = 5635106957071873715L;
	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	@Resource
	private MonitorSessionDao msd;
	@Override
	public MonitorSessionDao getEntityDao() {
		return msd;
	}
	
	public List<MonitorSessionVo> selectMonitorSessionList(MonitorSessionVo msVo) {
		return msd.selectMonitorSessionList(msVo);
	}
	
	/**
	 * 
	 * @param msivVo
	 * @return
	 */
	public List<MonitorUserOnlineTimeVo> selectMonitorUserOnlineTimeVoList(MonitorUserOnlineTimeVo msivVo){
		return msd.selectMonitorUserOnlineTimeVoList(msivVo);
	}

}
